package com.qls.mt.biz.demo;

import com.qls.mt.biz.demo.req.QueryHotelList;
import sun.net.www.http.HttpClient;

public class Test {

    public static void main(String[] args) {
        QueryHotelList queryHotelList = new QueryHotelList();
        queryHotelList.setCountryId("70007");
        queryHotelList.setPageIndex(0);
        queryHotelList.setPageSize(2);
        JLApiRequest jlApiRequest = new JLApiRequest(JlConstant.queryHotelList, "SZ28276", "123456", queryHotelList);
        String result = new HttpClient().get(jlApiRequest);
        System.out.println(result);
    }
}

